<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet"
	href="${pageContext.request.contextPath}/statics/css/style.css" />

<script src="${pageContext.request.contextPath}/statics/js/iepng.js"
	type="text/javascript"></script>


<script type="text/javascript"
	src="${pageContext.request.contextPath}/statics/js/jquery-1.11.1.min_044d0927.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/statics/js/jquery.bxslider_e88acd1b.js"></script>

<script type="text/javascript"
	src="${pageContext.request.contextPath}/statics/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/statics/js/menu.js"></script>

<script type="text/javascript"
	src="${pageContext.request.contextPath}/statics/js/select.js"></script>

<script type="text/javascript"
	src="${pageContext.request.contextPath}/statics/js/lrscroll.js"></script>

<script type="text/javascript"
	src="${pageContext.request.contextPath}/statics/js/iban.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/statics/js/fban.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/statics/js/f_ban.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/statics/js/mban.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/statics/js/bban.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/statics/js/hban.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/statics/js/tban.js"></script>

<script type="text/javascript"
	src="${pageContext.request.contextPath}/statics/js/lrscroll_1.js"></script>

<script>
	window.onload = function() {
		function checkCode(digit) {
			var result = "";
			var i;

			for (i = 0; i < parseInt(digit); i++) {
				result = result + (parseInt(Math.random() * 10)).toString();
			}
			return result;
		}
		;

		var oA = document.getElementById("checkCode");
		var oInput = document.getElementById("l_ipt");

		oA.onclick = function() {
			var Arr = checkCode(6);
			var aText = document.createTextNode(Arr);

			if (oA.innerHTML == "") {
				oA.appendChild(aText);
			} else {
				oA.innerHTML = "";
				oA.appendChild(aText);
			}
			;
			oInput.setAttribute("pattern", Arr);
		};
	};
</script>
<style>
		#l_ipt+a {
			border: 1px solid #ccc;
			box-shadow: inset 0 0 4px rgba(190, 190, 190, 0.658);
			display: inline-block;
			width: 80px;
			height: 30px;
			line-height: 30px;
			text-align: center;
		}

		#l_ipt+a:hover {
			text-decoration: underline;
		}
	</style>

<title>注册</title>
</head>

<body>
	<!--Begin Header Begin-->
	<div class="soubg">
		<div class="sou">
			<span class="fr"> <span class="fl">你好，请<a
					href="Login.jsp">登录</a>&nbsp; <a href="Regist.jsp"
					style="color: #ff4e00;">免费注册</a>
			</span> <span class="fl">|&nbsp;关注我们：</span> <span class="s_sh"><a
					href="#" class="sh1">新浪</a><a href="#" class="sh2">微信</a></span> <span
				class="fr">|&nbsp;<a href="#">手机版&nbsp;<img
						src="${pageContext.request.contextPath}/statics/images/s_tel.png"
						align="absmiddle" /></a></span>
			</span>
		</div>
	</div>
	<!--End Header End-->
	<!--Begin Login Begin-->
	<div class="log_bg">
		<div class="top">
			<div class="logo">
				<a href="Index.jsp"><img
					src="${pageContext.request.contextPath}/statics/images/logo.png" /></a>
			</div>
		</div>
		<div class="regist">
			<div class="log_img">
				<img
					src="${pageContext.request.contextPath}/statics/images/l_img.png"
					width="611" height="425" />
			</div>
			<div class="reg_c">


				<form action="Regist" method="post">

					<table border="0"
						style="width: 420px; font-size: 14px; margin-top: 20px;"
						cellspacing="0" cellpadding="0">
						<tr height="50" valign="top">
							<td width="95">&nbsp;</td>
							<td><span class="fl" style="font-size: 24px;">注册</span> <span
								class="fr">已有商城账号，<a href="Login.jsp"
									style="color: #ff4e00;">我要登录</a></span></td>
						</tr>
						<tr height="50">
							<td align="right"><font color="#ff4e00">*</font>&nbsp;用户名
								&nbsp;</td>
							<td><input name="loginName" type="text" value=""
								placeholder="字母开头，3-10字节，允许字母数字下划线"
								pattern="^[a-zA-Z][a-zA-Z0-9_]{2,9}$" class="l_user" required /></td>
						</tr>
						<tr height="50">
							<td align="right"><font color="#ff4e00">*</font>&nbsp;密码
								&nbsp;</td>
							<td><input name="password" type="password"
								placeholder="6~12字节，允许字母数字下划线" pattern="\w{5,11}$"
								value="" class="l_pwd" required /></td>
						</tr>
						<tr height="50">
							<td align="right"><font color="#ff4e00">*</font>&nbsp;确认密码
								&nbsp;</td>
							<td><input name="repsword" type="password" value=""
								class="l_pwd" required /></td>
						</tr>

						<tr height="50">
							<td align="right"><font color="#ff4e00">*</font>&nbsp;邮箱
								&nbsp;</td>
							<td><input name="email" type="text"
								placeholder="例：5589058756@qq.com"
								pattern="^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$" value=""
								class="l_email" required /></td>
						</tr>
						<tr height="50">
							<td align="right"><font color="#ff4e00">*</font>&nbsp;手机
								&nbsp;</td>
							<td><input name="mobile" type="text" value=""
								pattern="^1\d{10}$" placeholder="请输入以1开头的11位数字" class="l_tel"
								required /></td>
						</tr>
						
						<tr height="50">
							<td align="right"><font color="#ff4e00">*</font>&nbsp;验证码
								&nbsp;</td>
							<td><input type="text" value="" class="l_ipt" id="l_ipt"
								placeholder="输入验证码" required pattern=""
								oninvalid="setCustomValidity('请输入正确的验证码');"
								oninput="setCustomValidity('');" /> <a id="checkCode" href="#"
								style="font-size: 12px; font-family: '宋体';">获取验证码</a></td>

						</tr>
						<tr>
							<td>&nbsp;</td>
							<td style="font-size: 12px; padding-top: 20px;"><span
								style="font-family: '宋体';" class="fl"> <label
									class="r_rad"><input type="checkbox" required /></label><label
									class="r_txt">我已阅读并接受《用户协议》</label>
							</span></td>
						</tr>
						<tr height="60">
							<td>&nbsp;</td>
							<td><input type="submit" value="立即注册" class="log_btn" /></td>
						</tr>
					</table>
				</form>
			</div>
		</div>
	</div>
	<!--End Login End-->
	<!--Begin Footer Begin-->
	<div class="btmbg">
		<div class="btm">
			备案/许可证编号：蜀ICP备12009302号-1-www.dingguagua.com Copyright © 2015-2018
			尤洪商城网 All Rights Reserved. 复制必究 , Technical Support: Dgg Group <br />
			<img src="${pageContext.request.contextPath}/statics/images/b_1.gif"
				width="98" height="33" /><img
				src="${pageContext.request.contextPath}/statics/images/b_2.gif"
				width="98" height="33" /><img
				src="${pageContext.request.contextPath}/statics/images/b_3.gif"
				width="98" height="33" /><img
				src="${pageContext.request.contextPath}/statics/images/b_4.gif"
				width="98" height="33" /><img
				src="${pageContext.request.contextPath}/statics/images/b_5.gif"
				width="98" height="33" /><img
				src="${pageContext.request.contextPath}/statics/images/b_6.gif"
				width="98" height="33" />
		</div>
	</div>
	<!--End Footer End -->

</body>


<!--[if IE 6]>
<script src="//letskillie6.googlecode.com/svn/trunk/2/zh_CN.js"></script>
<![endif]-->
</html>
